package cn.jiyun.service.impl;

import cn.jiyun.mapper.StatesMapper;
import cn.jiyun.pojo.States;
import cn.jiyun.service.StatesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StatesServiceImpl implements StatesService {

    @Autowired
    private StatesMapper statesMapper;


    @Override
    public List<States> findAll() {
        return statesMapper.findAll();
    }
}
